class CreatePins < ActiveRecord::Migration
  def self.up
    create_table :pins do |t|
      t.column :title, :string
      t.column :url, :string
      t.column :media, :string
      t.column :description, :text
      t.column :board_id, :integer
      t.column :via_user_id, :integer
      t.column :deleted_at, :datetime
      t.timestamps
    end
  end

  def self.down
    drop_table :pins
  end
end
